package org.example.zuoye.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import org.example.zuoye.entity.Schedules;
import org.example.zuoye.vo.SchedulesByDay;

import java.util.List;

/**
 * @Author xinchen
 * @Date: 2024/08/14/ 21:20
 * @Description
 */
public interface SchedulesService {
    PageInfo search(Integer page, Integer limit, Schedules schedules);

    int add(Schedules shedules) throws Exception;

    int edit(Schedules shedules) throws Exception;

    int remove(Integer[] ids) throws Exception;

    /**
     * 获取今天的放号记录
     * @return
     */
    List<SchedulesByDay> findToday();

}
